import { User } from "../../services/userService";

/**
 * 模拟用户数据
 */
const users: User[] = [
  {
    id: "1",
    username: "admin",
    email: "admin@example.com",
    avatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=admin",
    role: "admin",
    status: 1,
    createdAt: "2023-01-01T00:00:00Z",
    lastLogin: "2023-06-01T12:30:00Z",
  },
  {
    id: "2",
    username: "user",
    email: "user@example.com",
    avatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=user",
    role: "user",
    status: 1,
    createdAt: "2023-02-15T00:00:00Z",
    lastLogin: "2023-06-02T10:20:00Z",
  },
  {
    id: "3",
    username: "developer",
    email: "dev@example.com",
    avatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=developer",
    role: "developer",
    status: 1,
    createdAt: "2023-03-10T00:00:00Z",
    lastLogin: "2023-06-03T09:15:00Z",
  },
  {
    id: "4",
    username: "tester",
    email: "test@example.com",
    avatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=tester",
    role: "tester",
    status: 1,
    createdAt: "2023-04-05T00:00:00Z",
    lastLogin: "2023-06-02T16:40:00Z",
  },
  {
    id: "5",
    username: "manager",
    email: "manager@example.com",
    avatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=manager",
    role: "manager",
    status: 1,
    createdAt: "2023-01-20T00:00:00Z",
    lastLogin: "2023-06-01T14:25:00Z",
  },
  {
    id: "6",
    username: "guest",
    email: "guest@example.com",
    avatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=guest",
    role: "guest",
    status: 0,
    createdAt: "2023-05-12T00:00:00Z",
  },
];

export default users;
